package com.yenlien.traceyun.business.trace;

import java.util.List;
import java.util.concurrent.Callable;

import com.yenlien.traceyun.common.utils.LoggerUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * 追溯码处理线程
 *
 * @author master yi
 */
public class TraceJob implements Callable<Object> {

    private TraceService traceService;

    private String code;

    private Object endStep;

    public TraceJob(TraceService traceService, String code, Object endStep) {
        this.traceService = traceService;
        this.code = code;
        this.endStep = endStep;
    }


    @Override
    public Object call() throws Exception {
        traceService.addInfo(code, "", endStep, "", "");
        return null;
    }


}
